
/**
 * 录屏能力
 */
export class IRecordAble{
    protected _type:string;
    /**
     * 初始化
     * @param type 功能类型，如：wx;tt等
     */
    init(type:string):IRecordAble{
        if(!this._type){
            this._type = type;
        }
        
        return this;
    }
    startRecord(duration?:number,frameRate?:number):void{
        console.log("开始录屏:", duration, frameRate);
    }

    stopRecord():void{
        console.log("结束录屏");
    }

    pauseRecord():void{
        console.log("暂停录屏");
    }

    resumeRecord():void{
        console.log("恢复录屏");
    }

    get videoPath():string{
        return "";
    }
}
